翻訳と辞書
Words near each other
・ Weak Moments of the Shadows
・ Weak n-category
・ Weak noun
・ Weak NP-completeness
・ Weak ontology
・ Weak ontology (political concept)
・ Weak operator topology
・ Weak ordering
・ Weak position (poetry)
・ Weak reference
・ Weak salt
・ Weak Selection
・ Weak sister
・ Weak solution
・ Weak Spot
Weak symbol
・ Weak topology
・ Weak topology (polar topology)
・ Weak trace-class operator
・ Weak two bid
・ Weak value
・ Weak verb
・ Weak-Link Approach
・ Weak-star topology
・ Weak13
・ Weakened weak form
・ Weakest Link
・ Weakest Link (Hong Kong)
・ Weakest Link (U.S. game show)
・ Weakfish


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Weak symbol : ウィキペディア英語版
Weak symbol
A weak symbol denotes a specially annotated symbol during linking of Executable and Linkable Format (ELF) object files. By default, without any annotation, a symbol in an object file is strong. During linking, a strong symbol can override a weak symbol of the same name. In contrast, two strong symbols that share a name yield a link error during link-time. When linking a binary executable, a weakly declared symbol does not need a definition. In comparison, (by default) a declared strong symbol without a definition triggers an undefined symbol link error.
Weak symbols are not mentioned by C or C++ language standards; as such, inserting them into code is not very portable. Even if two platforms support the same or similar syntax for marking symbols as weak, the semantics may differ in subtle points, e.g. whether weak symbols during dynamic linking at runtime lose their semantics or not.
== Syntax ==

The GNU Compiler Collection and the Solaris Studio C compiler share the same syntax for annotating symbols as weak, namely a special #pragma, #pragma weak, and, alternatively, a function and variable attribute, __attribute__((weak)).〔(【引用サイトリンク】url=http://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/Function-Attributes.html )

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Weak symbol」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.